package com.forenow.demo.demo16.oop;

public class TestStudent
{
    public static void main(String[] args) {
        Student s1=new Student();
        s1.setName("tom");
        s1.setAge(30);
        String name=s1.getName();
        int age=s1.getAge();
        System.out.println(name+"----"+age);
    }
}
